package cn.chengdu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 医院员工信息表
 * </p>
 *
 * @author jobob
 * @since 2019-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Staffinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 员工编号
     */
    @TableId(value = "staid", type = IdType.AUTO)
    private Integer staid;

    /**
     * 科室id
     */
    private Integer depid;

    /**
     * 性别
     */
    private String stasex;

    /**
     * 员工年龄
     */
    private Integer staage;

    /**
     * 出生日期
     */
    private LocalDate stabir;

    /**
     * 家庭地址
     */
    private String staaddress;

    /**
     * 电话
     */
    private String statel;

    /**
     * 数据库名称
     */
    private String stadbsource;

    /**
     * 员工姓名
     */
    private String staname;

    /**
     * 员工状态
     */
    private String stanstate;

    /**
     * 密码
     */
    private String stapassword;

    /**
     * 工号
     */
    private String stajobnumber;

    private Integer surplusnum;

    private String smiaoshu;

    private String postitle;

}
